from django.db import models


# Create your models here.
class Dept(models.Model):
    name = models.CharField(max_length=100, verbose_name='部门名称', unique=True)
    address = models.CharField(max_length=100, verbose_name='部门地址')
    create_time = models.DateTimeField(auto_now_add=True)

    class Meta:
        db_table = 'dept'
